package com.zqcy.workbench.hotfix;

import com.onemdos.base.utils.ToastUtil;
import com.shinemo.tango.patch.annotaion.Add;
import com.zqcy.workbench.MyApplication;

@Add
public class HotFixAddClass {

    private static volatile HotFixAddClass singleton = null;

    private HotFixAddClass() {}

    public static HotFixAddClass getInstance() {
        if (singleton == null) {
            synchronized (HotFixAddClass.class) {
                if (singleton == null) {
                    singleton = new HotFixAddClass();
                }
            }
        }
        return singleton;
    }

    public void test() {
        ToastUtil.show(MyApplication.getInstance(), "test hot fix add class");
    }

}
